﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Interactable : MonoBehaviour
{
    public bool isCheck = false;// 这个表明当前的物体是否有被检索到
    public string description = "按E可以互动";// 
    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }
    // 当被观测到时执行的方法；
    public virtual void Get_Checked()
    {
        isCheck = true;
        // 然后应该要根据isChecked
    }

    public void Change_Description(string new_description)
    {
        description = new_description;
    }

    public virtual void Activate()
    {

    }
}
